<script setup>
	const { title } = defineProps(['title'])
	defineEmits(['enlarge-text','ensmall-text'])
</script>

<template>
	<div class="blog-post">
		<h4>{{ title }}</h4>
		<button @click="$emit('enlarge-text',0.2)">放大文字</button>
		<button @click="$emit('ensmall-text',0.2)">缩小文字</button>
	</div>

</template>